'Declaration
Public Overloads Function SearchTextRegex( _ ByVal Page As Integer, _ ByVal Pattern As String, _ ByVal Occurence As Integer, _ ByVal CaseSensitive As Boolean, _ ByRef BoundingArray As IEnumerable(Of RectangleF) _ ) As Boolean
public bool SearchTextRegex( int Page, string Pattern, int Occurence, bool CaseSensitive, out IEnumerable<RectangleF> BoundingArray )
public function SearchTextRegex( Page: Integer; Pattern: String; Occurence: Integer; CaseSensitive: Boolean; Out BoundingArray: IEnumerable ): Boolean;
public function SearchTextRegex( Page : int, Pattern : String, Occurence : int, CaseSensitive : boolean, BoundingArray : IEnumerable ) : boolean;
public: bool SearchTextRegex( int Page, string* Pattern, int Occurence, bool CaseSensitive, [PARAMFLAG::Out] IEnumerable<RectangleF>* BoundingArray )
public: bool SearchTextRegex( int Page, String^ Pattern, int Occurence, bool CaseSensitive, [Out] IEnumerable<RectangleF>^ BoundingArray )
Parameters
- Page
- The number of the page to search for text. It must be a value from 1 to the value of the PageCount property.
- Pattern
- The textregular expression pattern to search for.
- Occurence
- The occurrence of the searched expression on the required page. Set the occurrence to 1 if you are searching for the first occurrence, set it to 2 for the second etc.
The value of 0 is not accepted, it will always be converted to 1. Please note that the occurrence is always related to the specified page.
- CaseSensitive
- Set this parameter to true if you want to apply case-sensitive search, otherwise set it to false.
- BoundingArray
- Output parameter. If the searched expression has been found, this is the list of bounding box rectangle definined in inches.